package com.zkthink.ceres.product.service;

import com.zkthink.base.service.SuperService;
import com.zkthink.ceres.product.entity.LogisticsDetail;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 物流方案明细
 * </p>
 *
 * @author vivi.huang
 * @date 2020-05-16
 */
public interface LogisticsDetailService extends SuperService<LogisticsDetail> {

    /**
     * 根据物流id查询明细列表
     * @param collect
     * @return
     */
    List<LogisticsDetail> findLogisticsDetailList(List<Long> collect);

    /**
     * 根据物流设置id删除明细
     * @param id
     */
    void removeByLogisticsId(Long id);

    /**
     * 根据商户code查询对应方案
     * @param tenantCode
     * @return
     */
    List<LogisticsDetail> findLogisticsDetailList(String tenantCode);
}
